<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
        <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<title>Basic_table</title>
<style type="text/css">
.s{
 display: none;
} 
 #ie{
display: none;
} 
#ty{
display: none;
}
#wd{
display: none;
}
#ju{
display: none;
}

</style>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="" />
<script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } </script>
<!-- bootstrap-css -->
<link rel="stylesheet" href="css/bootstrap.min.css" >
<!-- //bootstrap-css -->
<!-- Custom CSS -->
<link href="css/style.css" rel='stylesheet' type='text/css' />
<link href="css/style-responsive.css" rel="stylesheet"/>
<!-- font-awesome icons -->
<link rel="stylesheet" href="css/font.css" type="text/css"/>
<link href="css/font-awesome.css" rel="stylesheet"> 


</head>
<body>
<section id="container">
<!--header start-->
<header class="header fixed-top clearfix">
<!--logo start-->
<div class="brand">

    <a href="index.html" class="logo">
       卓越项目管理系统
    </a>
    <div class="sidebar-toggle-box">
        <div class="fa fa-bars"></div>
    </div>
</div>
<!--logo end-->

<div class="nav notify-row" id="top_menu">
    <!--  notification start -->
    
    <!--  notification end -->
</div>
<div class="top-nav clearfix">
    <!--search & user info start-->
    <ul class="nav pull-right top-menu">
       
        <!-- user login dropdown start-->
        <li class="dropdown">
            <a data-toggle="dropdown" class="dropdown-toggle" href="#">
                <img alt="" src="images/2.png">
                <span class="username"> <%= session.getAttribute("a") %></span>
                <b class="caret"></b>
            </a>
            <ul class="dropdown-menu extended logout">
                <li><a href="login.jsp"><i class="fa fa-key"></i>退出登录</a></li>
            </ul>
        </li>
        <!-- user login dropdown end -->
       
    </ul>
    <!--search & user info end-->
</div>
</header>
<!--header end-->
<!--sidebar start-->
<aside>
    <div id="sidebar" class="nav-collapse">
        <!-- sidebar menu start-->
        <div class="leftside-navigation">
            <ul class="sidebar-menu" id="nav-accordion">
               
                
               
               
                <li class="sub-menu">
                    <a class="active" href="#">
                        <i class="fa fa-th"></i>
                        <span>任务管理</span>
                    </a>
                    <ul class="sub">
                        <li><a class="active" href="#" onclick="add()">创建任务</a></li>
                        <li><a class="active" href="#" onclick="ren()">维护任务</a></li>
                    </ul>
                     
                     
                </li>
                 <li class="sub-menu">
                    <a class="active" href="#">
                        <i class=" fa fa-bar-chart-o"></i>
                        <span>项目管理</span>
                    </a>
                    <ul class="sub">
                        <li><a class="active" href="#" onclick="project()">项目维护</a></li>
                        <li><a class="active" href="#" onclick="addp()">创建项目</a></li>
                    </ul>
                </li>
               
            </ul>            </div>
        <!-- sidebar menu end-->
    </div>
</aside>

<!--sidebar end-->
<!--main content start-->
<section id="main-content" class="manager">
	

 <!-- footer -->
		  <div class="footer">
			<div class="wthree-copyright">
			  <p>欢迎来到卓越项目管理系统<a target="_blank" href="http://www.17sucai.com/"></a></p>
			</div>
		  </div>
  <!-- / footer -->
</section>

<!--main content end-->
</section>



  
 
 
  

<script src="js/jquery-3.3.1.min.js"></script>
<script src="js/bootstrap.bundle.min.js"></script>
<script src="js/bootstrap.min.js"></script>

<script src="js/jquery.dcjqaccordion.2.7.js"></script>
<script src="js/scripts.js"></script>
<script src="js/jquery.slimscroll.js"></script>
<script src="js/jquery.nicescroll.js"></script>
<!--[if lte IE 8]><script language="javascript" type="text/javascript" src="js/flot-chart/excanvas.min.js"></script><![endif]-->
<script src="js/jquery.scrollTo.js"></script>
<script type="text/javascript">
function ren(){
	   
	$.get('Task.jsp',function(str){
		
		$(".manager").html(str);
	})
}
function add(){
	  
	$.get('TaskAdd.jsp',function(st){
		
		$(".manager").html(st);
	})
}

function project(){
    $.get('project.jsp',function(s){
		
		$(".manager").html(s); 
	})
}
function addp(){
$.get('ProjectAdd.jsp',function(s){
		
		$(".manager").html(s); 
	})
}
</script>

</body>
</html>
